using MediatR;
using RBAC.ErrorCode;
using RBAC.Domain.Dto.Output;
using System;

namespace RBAC.Read.Api.Application.Command.ERP.PurchasingManagement.PurchaseInvoicefolder
{
    /// <summary>
    /// 采购发票明细表（联查）查询参数
    /// </summary>
    public class GetPurchaseInvoiceDetailsCommands : IRequest<APIPaging<PurchaseInvoiceDetailRowDto>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 10;

        // 基础筛选
        public string? DocumentCode { get; set; }
        public string? SupplierName { get; set; }
        public DateTime? InvoiceDateStart { get; set; }
        public DateTime? InvoiceDateEnd { get; set; }
    }
}
